﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%
    if (ViewData.ContainsKey("Result") || TempData.ContainsKey("Result"))
    {
        Guid guid = ViewData["Result"] is Guid
                        ? (Guid)ViewData["Result"]
                        : TempData["Result"] is Guid
                              ? (Guid)TempData["Result"]
                              : new Guid();

%>
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        ShowNotification('<%=Url.Action("Index", "UpdateResult", new {area = "AdminCP"})%>', '<%=guid%>');
    });
</script>
<%
    }
%>